#include "widget.h"
#include <QApplication>
#include <QtWidgets/QDesktopWidget>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

     qputenv("QT_IM_MODULE", QByteArray("qtvirtualkeyboard"));

     QFont font;
     font.setPointSize(8);
     a.setFont(font);


    Widget w;

    int  width=    QApplication::desktop()->width();
    int height=    QApplication::desktop()->height();
    w.setFixedSize(width,height);


    w.show();

    return a.exec();
}
